Total Complexity | 24 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 241 |
Lines of code | 85 |
Logical lines of code | 49 |
Comment lines | 58 |
Methods | 12 |
Properties | 7 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
registerDiscountAndCommissionFeesOnCart() | 60 | 6 | 14 | |
get_payment_method_script_handles() | 55 | 3 | 19 | |
updateCartToRegisterDiscountAndCommission() | 63 | 3 | 10 | |
is_active() | 79 | 2 | 3 | |
get_supported_features() | 79 | 2 | 3 | |
setGateway() | 72 | 2 | 5 | |
__construct() | 65 | 1 | 9 | |
resetCheckoutSession() | 74 | 1 | 5 | |
initialize() | 78 | 1 | 3 | |
loadGatewayCheckoutScripts() | 82 | 1 | 3 | |
get_payment_method_data() | 67 | 1 | 8 | |
getScriptParams() | 82 | 1 | 3 |